package com.cn.hnust.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cn.hnust.pojo.Column;
import com.cn.hnust.pojo.Message;
import com.cn.hnust.util.Page;

public interface ColumnMapper {
	int deleteByPrimaryKey(int column_id);

    int insert(Column column);

    int insertSelective(Column column);

    Message selectByPrimaryKey(int column_id);
    
    List<Column> getUsers();

    int updateByPrimaryKeySelective(Column column);

    int updateByPrimaryKey(Column column);
    
    Column getUser(int column_id);
    
    List<Column> selectPersons(@Param("column_name")String column_name,@Param("page")Page page);
    
    List<Column> queryAllRecord(@Param("page")Page page);
    
    int getCount();
    
    int getCountmh(String column_name);
}
